const mixin = {
  data() {
    return {
      query: {
        keyword: null, //搜索关键字
        loading: false, //加载loadding....
      },
      // results: {
      //   dataList: [],//表格数据
      //   // total: null, //返回数据总数
      // },
      //分页器
      pagination: {
        current: 1,
        pageSize: 20,//每页中显示10条数据
        total: 0,
        // showTotal: total => `Total ${total} items`,
        showTotal: total => `总 ${total} 条数据`,
      }
    }
  }
}
export default mixin